class Employee:

    def __init__(self, eid, did, name, money):
        self.eid = eid  # 员工编号
        self.did = did  # 部门编号
        self.name = name
        self.money = money

    def __str__(self):
        return f"员工姓名：{self.name}，部门编号：{self.did}，员工编号：{self.eid}，工资是：{self.money}元"

    # 可以友好的打印列表信息
    # def __repr__(self):
    #     return self.__str__()
